package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单管理对象 salon_order_detail
 * 
 * @author 23
 * @date 2022-03-31
 */
public class SalonOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单明细id */
    private Integer orderServiceId;

    /** 订单id */
    @Excel(name = "订单id")
    private Integer orderId;

    /** 服务id */
    @Excel(name = "服务id")
    private Integer serviceId;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /**
     * 订单选择的服务集合
     */
    private List<SalonService> serviceList;

    public void setServiceList(List<SalonService> serviceList) {
        this.serviceList = serviceList;
    }

    public List<SalonService> getServiceList() {
        return serviceList;
    }

    public void setOrderServiceId(Integer orderServiceId)
    {
        this.orderServiceId = orderServiceId;
    }

    public Integer getOrderServiceId() 
    {
        return orderServiceId;
    }
    public void setOrderId(Integer orderId) 
    {
        this.orderId = orderId;
    }

    public Integer getOrderId() 
    {
        return orderId;
    }

    public void setServiceId(Integer serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Integer getServiceId() 
    {
        return serviceId;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderServiceId", getOrderServiceId())
            .append("orderId", getOrderId())
            .append("serviceId", getServiceId())
            .append("price", getPrice())
            .toString();
    }
}
